package com.ruoyi.http.controller;

import com.alibaba.fastjson.JSONObject;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.http.domain.Http;
import com.ruoyi.http.domain.WeChat00100T;
import com.ruoyi.http.domain.WeChat00200T;
import com.ruoyi.http.service.IWeChatTService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/http/weChat00200")
public class WeChat00200 extends BaseController {

    @Autowired
    private IWeChatTService weChatTService;
    @GetMapping("/weChat")
    public AjaxResult http(WeChat00200T weChat00200T) {
        WeChat00200T weChat = new WeChat00200T();
        weChat = weChatTService.getDoorInfoByHouseId(weChat00200T);
        return AjaxResult.success(weChat);
    }
}